#!/usr/bin/env python
# coding: utf-8

from datetime import time

t = time(hour=19, minute=45, second=16)
print(t, type(t))   #19:45:16 <class 'datetime.time'>

t1 = t.replace(hour=1, minute=2, second=3)
print(t1, type(t1))     #01:02:03 <class 'datetime.time'>

min = time.min
print(min, type(min))   #00:00:00 <class 'datetime.time'>

max = time.max
print(max, type(max))   #23:59:59.999999 <class 'datetime.time'>

unit = time.resolution
print(unit, type(unit))   #0:00:00.000001 <class 'datetime.timedelta'>